#pragma once
#include<iostream>


class nocopy   //不准复制
{
public:
    nocopy(){}    //将下面两个禁止时，要手写默认构造
    nocopy(nocopy&) = delete;
    const nocopy& operator=(nocopy&) = delete;
};